package com.ainge.easystudy.designpattern.factory.method;

import com.ainge.easystudy.designpattern.factory.ICourse;
import com.ainge.easystudy.designpattern.factory.JavaCourse;

/**
 * Java课程工厂，专门负责创建JAVA课程类
 * @author: Ainge
 * @Time: 2021/4/24 14:34
 */
public class JavaCourseFactory implements ICourseFactory {
    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
